package com.huonan.component.tmp.filter;

import com.huonan.component.tmp.SourceEnum;
import com.huonan.component.tmp.SourceFactory;
import com.huonan.component.tmp.vo.UserLanguageTextVo;

/**
 * 处理文本入口
 */
public class UserLanguageTextFilter {
    public UserLanguageTextVo filter(SourceEnum source, String text) {
        UserTextFilter sourceFilter = SourceFactory.createSourceFilter(source);
        return sourceFilter.filter(text);
    }
}
